package com.banmoon.observer;

public class ObserverMain {

    public static void main(String[] args) {
        WeatherBureau weatherBureau = new WeatherBureau();
        weatherBureau.addObserver(new BaiduWebsite());
        weatherBureau.addObserver(new SinaWebsite());

        weatherBureau.setData(15, 3, 6);
    }
}
